package com.ml.mall.bean.req.company;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *   @description    :description 
 *   @author         :zxm
 *   @date           :2021/5/13
 *   @version        :1.0
**/
@ApiModel(value = "公司银行卡新增，修改model")
@Data
public class CompanyBankDto {
    @ApiModelProperty(value = "银行卡名称")
//    @NotBlank(message = "银行卡名称不能为空")
    private String bankName;

    @ApiModelProperty(value = "银行卡编码")
//    @NotBlank(message = "银行卡编码不能为空")
    private String bankCode;

    @ApiModelProperty(value = "银行卡swfit")
//    @NotBlank(message = "银行卡swfit不能为空")
    private String bankSwfit;

    @ApiModelProperty(value = "银行卡号")
//    @NotNull(message = "银行卡号不能为空")
    private Long bankAccountNumber;

    @ApiModelProperty(value = "持卡人")
//    @NotBlank(message = "持卡人不能为空")
    private String holderName;
}
